package com.lysj.admin.common.log.domain;

import com.lysj.admin.utils.spring.foundation.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * @author Created by zk on 2019-01-17 10:56
 * @description Log实体类的超类
 */
@Data
@MappedSuperclass
public class SuperLog extends BaseEntity {
    private String name;//方法操作名称

    private String requestUrl;//请求路径

    private String requestType;//请求类型

    @Column(length = 3000)
    private String requestParam;//请求参数

    private String tokenLoad;//用户凭证中的负载

    private String ip;//ip

    private Integer costTime;//花费时间
}
